package com.xml.services;

import java.util.List;

import com.xml.domain.Reader;

public interface ReaderService {
	public Reader insertReader(Reader reader);
	public boolean deleteReader(int id);
	public boolean updateReader(Reader reader);
	public List<Reader> searchReader();	
	public List<Reader> pagingQuery(int pageNo, int pageSize);
	public Reader query_byId(int id);
	public boolean checkReader(String id);
	public int numOfBorrow(String id);
	public void updateNumOfBorrow(int id);
	public void setReaderId();

}
